package com.ocl.www.domain;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;

/**
 * 
 * @ClassName: Article
 * @Description: 文章
 * @author: xlh
 * @date: 2016年7月25日
 */
public class Article implements Serializable {

	private static final long serialVersionUID = -728403873776385504L;

	private Integer articleId;
	
	private Integer author;

	private Integer commCount;

	private Integer categoryId;
	
	private Integer taglibId;
	
	private String mainPicture;
	
	private String summary;
	
	private String title;
	
	private Integer likeCount;
	
	private Integer detailId;
	
	private Integer status;
	
	private Timestamp createTime;
	
	private String tagcontent;
	
	private String addressip;

	private  String articlecontent;

	public Integer getCommCount() {
		return commCount;
	}

	public void setCommCount(Integer commCount) {
		this.commCount = commCount;
	}

	public String getArticlecontent() {
		return articlecontent;
	}

	public void setArticlecontent(String articlecontent) {
		this.articlecontent = articlecontent;
	}

	public String getTagcontent() {
		return tagcontent;
	}

	public void setTagcontent(String tagcontent) {
		this.tagcontent = tagcontent;
	}

	public String getAddressip() {
		return addressip;
	}

	public void setAddressip(String addressip) {
		this.addressip = addressip;
	}

	public Integer getArticleId() {
		return articleId;
	}

	public void setArticleId(Integer articleId) {
		this.articleId = articleId;
	}

	public Integer getAuthor() {
		return author;
	}
	@Field("author")
	public void setAuthor(Integer author) {
		this.author = author;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public Integer getTaglibId() {
		return taglibId;
	}

	public void setTaglibId(Integer taglibId) {
		this.taglibId = taglibId;
	}

	public String getMainPicture() {
		return mainPicture;
	}

	public void setMainPicture(String mainPicture) {
		this.mainPicture = mainPicture;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getTitle() {
		return title;
	}
	@Field("title")
	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getLikeCount() {
		return likeCount;
	}

	public void setLikeCount(Integer likeCount) {
		this.likeCount = likeCount;
	}

	public Integer getDetailId() {
		return detailId;
	}

	public void setDetailId(Integer detailId) {
		this.detailId = detailId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
